//
//  HQHotTopView.h
//  MobileiOS
//
//  Created by 郝庆松 on 2018/5/12.
//  Copyright © 2018年 PCITC. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HQHotTopView;

@protocol HQHotTopViewDelegate <NSObject>

-(void)selectItem:(HQHotTopView *)hottopView withInfo:(NSDictionary *)dataInfo;

@end

@interface HQHotTopView : UIView

@property(nonatomic,assign)id<HQHotTopViewDelegate>delegate;

/**
 数据源
 */
@property (strong, nonatomic) NSArray *dataSource;

/**
 布局
 */
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *layout;

/**
 初始化视图

 @return 视图
 */
+ (instancetype)loadTopHotView;

@end
